home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1990 September: Essentials 4 / ADC Developer CD (1990-09) [Essentials 4]_iso / Developer Essentials 4.iso / d e v e l o p / develop 2 code / Speed Development / UDemoDialogs.h < prev    next >
MacBinary  |  1990-02-26  |  9.3 KB  |  [TEXT/MPS ]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Mon Feb 26 14:07:15 1990, modified Mon Feb 26 14:07:15 1990, creator 'MPS ', type ASCII, 8889 bytes "UDemoDialogs.h" , at 0x2339 286 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[MPS ]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0e 55 44 65 6d 6f 44 | 69 61 6c 6f 67 73 2e 68 |..UDemoD|ialogs.h|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 50 53 | 20 01 00 00 40 00 40 00 |.TEXTMPS| ...@.@.|
|00000050| 00 00 00 00 00 22 b9 00 | 00 01 1e a2 0f 2e e3 a2 |....."..|........|
|00000060| 0f 2e e3 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 8f 51 00 00 |........|.....Q..|
|00000080| 2f 2f 20 55 44 65 6d 6f | 44 69 61 6c 6f 67 73 2e |// UDemo|Dialogs.|
|00000090| 63 70 0d 2f 2f 20 43 6f | 70 79 72 69 67 68 74 20 |cp.// Co|pyright |
|000000a0| a9 20 31 39 39 30 20 62 | 79 20 41 70 70 6c 65 20 |. 1990 b|y Apple |
|000000b0| 43 6f 6d 70 75 74 65 72 | 2c 20 49 6e 63 2e 20 41 |Computer|, Inc. A|
|000000c0| 6c 6c 20 72 69 67 68 74 | 73 20 72 65 73 65 72 76 |ll right|s reserv|
|000000d0| 65 64 2e 0d 0d 23 69 66 | 6e 64 65 66 20 5f 5f 55 |ed...#if|ndef __U|
|000000e0| 44 45 4d 4f 44 49 41 4c | 4f 47 53 5f 5f 0d 23 64 |DEMODIAL|OGS__.#d|
|000000f0| 65 66 69 6e 65 20 5f 5f | 55 44 45 4d 4f 44 49 41 |efine __|UDEMODIA|
|00000100| 4c 4f 47 53 5f 5f 0d 23 | 69 6e 63 6c 75 64 65 20 |LOGS__.#|include |
|00000110| 22 53 61 6e 65 2e 68 22 | 0d 23 69 6e 63 6c 75 64 |"Sane.h"|.#includ|
|00000120| 65 20 22 55 4d 61 63 41 | 70 70 2e 68 22 0d 23 69 |e "UMacA|pp.h".#i|
|00000130| 6e 63 6c 75 64 65 20 22 | 55 50 72 69 6e 74 69 6e |nclude "|UPrintin|
|00000140| 67 2e 68 22 0d 23 69 6e | 63 6c 75 64 65 20 22 55 |g.h".#in|clude "U|
|00000150| 47 72 69 64 56 69 65 77 | 2e 68 22 0d 23 69 6e 63 |GridView|.h".#inc|
|00000160| 6c 75 64 65 20 22 55 54 | 45 56 69 65 77 2e 68 22 |lude "UT|EView.h"|
|00000170| 0d 23 69 6e 63 6c 75 64 | 65 20 22 55 44 69 61 6c |.#includ|e "UDial|
|00000180| 6f 67 2e 68 22 0d 23 69 | 6e 63 6c 75 64 65 20 22 |og.h".#i|nclude "|
|00000190| 54 6f 6f 6c 55 74 69 6c | 73 2e 68 22 0d 23 69 6e |ToolUtil|s.h".#in|
|000001a0| 63 6c 75 64 65 20 22 46 | 6f 6e 74 73 2e 68 22 0d |clude "F|onts.h".|
|000001b0| 23 69 6e 63 6c 75 64 65 | 20 22 52 65 73 6f 75 72 |#include| "Resour|
|000001c0| 63 65 73 2e 68 22 0d 23 | 69 6e 63 6c 75 64 65 20 |ces.h".#|include |
|000001d0| 22 50 61 63 6b 61 67 65 | 73 2e 68 22 0d 23 69 6e |"Package|s.h".#in|
|000001e0| 63 6c 75 64 65 20 22 53 | 74 64 49 4f 2e 68 22 0d |clude "S|tdIO.h".|
|000001f0| 23 69 6e 63 6c 75 64 65 | 20 22 53 74 64 4c 69 62 |#include| "StdLib|
|00000200| 2e 68 22 0d 23 69 6e 63 | 6c 75 64 65 20 22 53 74 |.h".#inc|lude "St|
|00000210| 72 69 6e 67 73 2e 68 22 | 0d 0d 23 69 6e 63 6c 75 |rings.h"|..#inclu|
|00000220| 64 65 20 22 55 47 72 61 | 70 68 2e 68 22 0d 0d 2f |de "UGra|ph.h"../|
|00000230| 2f 20 43 6f 6d 6d 61 6e | 64 20 6e 75 6d 62 65 72 |/ Comman|d number|
|00000240| 73 0d 63 6f 6e 73 74 20 | 73 68 6f 72 74 20 63 4d |s.const |short cM|
|00000250| 61 6b 65 50 69 63 74 75 | 72 65 09 09 3d 20 31 30 |akePictu|re..= 10|
|00000260| 30 30 3b 0d 0d 2f 2f 20 | 4d 69 73 63 65 6c 6c 61 |00;..// |Miscella|
|00000270| 6e 65 6f 75 73 20 63 6f | 6e 73 74 61 6e 74 73 0d |neous co|nstants.|
|00000280| 63 6f 6e 73 74 20 75 6e | 73 69 67 6e 65 64 20 6c |const un|signed l|
|00000290| 6f 6e 67 20 6b 53 69 67 | 6e 61 74 75 72 65 09 3d |ong kSig|nature.=|
|000002a0| 20 27 53 53 30 31 27 3b | 20 09 09 2f 2f 20 41 70 | 'SS01';| ..// Ap|
|000002b0| 70 6c 69 63 61 74 69 6f | 6e 20 73 69 67 6e 61 74 |plicatio|n signat|
|000002c0| 75 72 65 0d 63 6f 6e 73 | 74 20 75 6e 73 69 67 6e |ure.cons|t unsign|
|000002d0| 65 64 20 6c 6f 6e 67 20 | 6b 46 69 6c 65 54 79 70 |ed long |kFileTyp|
|000002e0| 65 09 3d 20 27 53 46 30 | 31 27 3b 09 09 2f 2f 20 |e.= 'SF0|1';..// |
|000002f0| 46 69 6c 65 2d 74 79 70 | 65 20 63 6f 64 65 20 75 |File-typ|e code u|
|00000300| 73 65 64 20 66 6f 72 20 | 64 6f 63 75 6d 65 6e 74 |sed for |document|
|00000310| 20 66 69 6c 65 73 0d 20 | 20 20 20 20 20 20 20 20 | files. | |
|00000320| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000330| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000340| 20 20 20 09 2f 2f 20 63 | 72 65 61 74 65 64 20 62 | .// c|reated b|
|00000350| 79 20 74 68 69 73 20 61 | 70 70 6c 69 63 61 74 69 |y this a|pplicati|
|00000360| 6f 6e 0d 63 6f 6e 73 74 | 20 73 68 6f 72 74 20 6b |on.const| short k|
|00000370| 54 65 73 74 57 69 6e 64 | 6f 77 49 44 09 09 3d 20 |TestWind|owID..= |
|00000380| 31 30 30 31 3b 09 09 09 | 2f 2a 20 54 68 69 73 20 |1001;...|/* This |
|00000390| 69 73 20 70 61 73 73 65 | 64 20 74 6f 20 4e 65 77 |is passe|d to New|
|000003a0| 53 69 6d 70 6c 65 57 69 | 6e 64 6f 77 20 61 73 20 |SimpleWi|ndow as |
|000003b0| 74 68 65 0d 20 20 20 20 | 20 20 20 20 20 20 20 20 |the. | |
|000003c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000003d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000003e0| 20 20 20 20 20 72 65 73 | 6f 75 72 63 65 20 49 44 | res|ource ID|
|000003f0| 20 6f 66 20 74 68 65 20 | 74 68 65 20 57 49 4e 44 | of the |the WIND|
|00000400| 20 52 65 73 6f 75 72 63 | 65 20 77 68 69 63 68 0d | Resourc|e which.|
|00000410| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000420| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000430| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000440| 20 64 65 66 69 6e 65 73 | 20 74 68 65 20 77 69 6e | defines| the win|
|00000450| 64 6f 77 20 66 6f 72 20 | 74 68 69 73 20 61 70 70 |dow for |this app|
|00000460| 6c 69 63 61 74 69 6f 6e | 27 73 0d 20 20 20 20 20 |lication|'s. |
|00000470| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000480| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000490| 20 20 20 20 20 20 20 20 | 20 20 20 20 64 6f 63 75 | | docu|
|000004a0| 6d 65 6e 74 73 20 2a 2f | 0d 0d 63 6f 6e 73 74 20 |ments */|..const |
|000004b0| 73 68 6f 72 74 20 6b 4d | 61 78 46 6f 6e 64 73 09 |short kM|axFonds.|
|000004c0| 09 09 3d 20 31 30 30 3b | 09 09 09 2f 2f 20 4d 61 |..= 100;|...// Ma|
|000004d0| 78 20 6e 75 6d 62 65 72 | 20 6f 66 20 46 4f 4e 44 |x number| of FOND|
|000004e0| 73 20 74 68 65 20 46 6f | 6e 74 4c 69 73 74 20 68 |s the Fo|ntList h|
|000004f0| 6f 6c 64 73 0d 0d 2f 2f | 20 74 79 70 64 65 66 73 |olds..//| typdefs|
|00000500| 0d 74 79 70 65 64 65 66 | 20 73 68 6f 72 74 20 46 |.typedef| short F|
|00000510| 6f 6e 74 4c 69 73 74 5b | 6b 4d 61 78 46 6f 6e 64 |ontList[|kMaxFond|
|00000520| 73 5d 3b 0d 0d 74 79 70 | 65 64 65 66 20 46 6f 6e |s];..typ|edef Fon|
|00000530| 74 4c 69 73 74 20 2a 46 | 6f 6e 74 4c 69 73 74 50 |tList *F|ontListP|
|00000540| 74 72 3b 0d 0d 2f 2f 20 | 63 6c 61 73 73 20 64 65 |tr;..// |class de|
|00000550| 63 6c 61 72 61 74 69 6f | 6e 73 0d 63 6c 61 73 73 |claratio|ns.class|
|00000560| 20 54 54 65 73 74 41 70 | 70 6c 69 63 61 74 69 6f | TTestAp|plicatio|
|00000570| 6e 20 3a 20 70 75 62 6c | 69 63 20 54 41 70 70 6c |n : publ|ic TAppl|
|00000580| 69 63 61 74 69 6f 6e 20 | 7b 0d 20 20 70 75 62 6c |ication |{. publ|
|00000590| 69 63 3a 0d 0d 09 76 69 | 72 74 75 61 6c 20 70 61 |ic:...vi|rtual pa|
|000005a0| 73 63 61 6c 20 76 6f 69 | 64 20 49 54 65 73 74 41 |scal voi|d ITestA|
|000005b0| 70 70 6c 69 63 61 74 69 | 6f 6e 28 4f 53 54 79 70 |pplicati|on(OSTyp|
|000005c0| 65 20 69 74 73 4d 61 69 | 6e 46 69 6c 65 54 79 70 |e itsMai|nFileTyp|
|000005d0| 65 29 3b 0d 09 09 2f 2a | 20 49 6e 69 74 69 61 6c |e);.../*| Initial|
|000005e0| 69 7a 65 73 20 74 68 65 | 20 61 70 70 6c 69 63 61 |izes the| applica|
|000005f0| 74 69 6f 6e 20 61 6e 64 | 20 67 6c 6f 62 61 6c 73 |tion and| globals|
|00000600| 2e 20 2a 2f 0d 0d 09 76 | 69 72 74 75 61 6c 20 70 |. */...v|irtual p|
|00000610| 61 73 63 61 6c 20 54 43 | 6f 6d 6d 61 6e 64 20 2a |ascal TC|ommand *|
|00000620| 44 6f 4d 65 6e 75 43 6f | 6d 6d 61 6e 64 28 43 6d |DoMenuCo|mmand(Cm|
|00000630| 64 4e 75 6d 62 65 72 20 | 61 43 6d 64 4e 75 6d 62 |dNumber |aCmdNumb|
|00000640| 65 72 29 3b 0d 0d 09 76 | 69 72 74 75 61 6c 20 70 |er);...v|irtual p|
|00000650| 61 73 63 61 6c 20 76 6f | 69 64 20 44 6f 53 65 74 |ascal vo|id DoSet|
|00000660| 75 70 4d 65 6e 75 73 28 | 76 6f 69 64 29 3b 0d 0d |upMenus(|void);..|
|00000670| 09 76 69 72 74 75 61 6c | 20 70 61 73 63 61 6c 20 |.virtual| pascal |
|00000680| 76 6f 69 64 20 46 69 65 | 6c 64 73 28 70 61 73 63 |void Fie|lds(pasc|
|00000690| 61 6c 20 76 6f 69 64 20 | 28 2a 44 6f 54 6f 46 69 |al void |(*DoToFi|
|000006a0| 65 6c 64 29 28 53 74 72 | 69 6e 67 50 74 72 20 66 |eld)(Str|ingPtr f|
|000006b0| 69 65 6c 64 4e 61 6d 65 | 2c 20 50 74 72 20 66 69 |ieldName|, Ptr fi|
|000006c0| 65 6c 64 41 64 64 72 2c | 20 73 68 6f 72 74 20 0d |eldAddr,| short .|
|000006d0| 09 20 20 20 66 69 65 6c | 64 54 79 70 65 2c 20 76 |. fiel|dType, v|
|000006e0| 6f 69 64 20 2a 44 6f 54 | 6f 46 69 65 6c 64 5f 53 |oid *DoT|oField_S|
|000006f0| 74 61 74 69 63 4c 69 6e | 6b 29 2c 20 76 6f 69 64 |taticLin|k), void|
|00000700| 20 2a 44 6f 54 6f 46 69 | 65 6c 64 5f 53 74 61 74 | *DoToFi|eld_Stat|
|00000710| 69 63 4c 69 6e 6b 29 3b | 0d 0d 7d 3b 0d 0d 63 6c |icLink);|..};..cl|
|00000720| 61 73 73 20 54 4e 75 6d | 62 65 72 73 56 69 65 77 |ass TNum|bersView|
|00000730| 20 3a 20 70 75 62 6c 69 | 63 20 54 56 69 65 77 20 | : publi|c TView |
|00000740| 7b 0d 20 20 70 75 62 6c | 69 63 3a 0d 0d 09 76 69 |{. publ|ic:...vi|
|00000750| 72 74 75 61 6c 20 70 61 | 73 63 61 6c 20 76 6f 69 |rtual pa|scal voi|
|00000760| 64 20 44 72 61 77 28 52 | 65 63 74 20 2a 61 72 65 |d Draw(R|ect *are|
|00000770| 61 29 3b 0d 0d 09 76 69 | 72 74 75 61 6c 20 70 61 |a);...vi|rtual pa|
|00000780| 73 63 61 6c 20 76 6f 69 | 64 20 46 69 65 6c 64 73 |scal voi|d Fields|
|00000790| 28 70 61 73 63 61 6c 20 | 76 6f 69 64 20 28 2a 44 |(pascal |void (*D|
|000007a0| 6f 54 6f 46 69 65 6c 64 | 29 28 53 74 72 69 6e 67 |oToField|)(String|
|000007b0| 50 74 72 20 66 69 65 6c | 64 4e 61 6d 65 2c 20 50 |Ptr fiel|dName, P|
|000007c0| 74 72 20 66 69 65 6c 64 | 41 64 64 72 2c 20 73 68 |tr field|Addr, sh|
|000007d0| 6f 72 74 20 0d 09 20 20 | 20 66 69 65 6c 64 54 79 |ort .. | fieldTy|
|000007e0| 70 65 2c 20 76 6f 69 64 | 20 2a 44 6f 54 6f 46 69 |pe, void| *DoToFi|
|000007f0| 65 6c 64 5f 53 74 61 74 | 69 63 4c 69 6e 6b 29 2c |eld_Stat|icLink),|
|00000800| 20 76 6f 69 64 20 2a 44 | 6f 54 6f 46 69 65 6c 64 | void *D|oToField|
|00000810| 5f 53 74 61 74 69 63 4c | 69 6e 6b 29 3b 0d 0d 7d |_StaticL|ink);..}|
|00000820| 3b 0d 0d 63 6c 61 73 73 | 20 54 4d 6f 6e 74 68 6c |;..class| TMonthl|
|00000830| 79 44 69 61 6c 6f 67 20 | 3a 20 70 75 62 6c 69 63 |yDialog |: public|
|00000840| 20 54 44 69 61 6c 6f 67 | 56 69 65 77 20 7b 0d 20 | TDialog|View {. |
|00000850| 20 70 75 62 6c 69 63 3a | 0d 0d 09 76 69 72 74 75 | public:|...virtu|
|00000860| 61 6c 20 70 61 73 63 61 | 6c 20 54 43 6f 6d 6d 61 |al pasca|l TComma|
|00000870| 6e 64 20 2a 44 6f 4b 65 | 79 43 6f 6d 6d 61 6e 64 |nd *DoKe|yCommand|
|00000880| 28 73 68 6f 72 74 20 63 | 68 2c 20 73 68 6f 72 74 |(short c|h, short|
|00000890| 20 61 4b 65 79 43 6f 64 | 65 2c 20 45 76 65 6e 74 | aKeyCod|e, Event|
|000008a0| 49 6e 66 6f 20 2a 69 6e | 66 6f 29 3b 0d 0d 09 76 |Info *in|fo);...v|
|000008b0| 69 72 74 75 61 6c 20 70 | 61 73 63 61 6c 20 42 6f |irtual p|ascal Bo|
|000008c0| 6f 6c 65 61 6e 20 44 65 | 73 65 6c 65 63 74 43 75 |olean De|selectCu|
|000008d0| 72 72 65 6e 74 45 64 69 | 74 54 65 78 74 28 76 6f |rrentEdi|tText(vo|
|000008e0| 69 64 29 3b 0d 0d 09 76 | 69 72 74 75 61 6c 20 70 |id);...v|irtual p|
|000008f0| 61 73 63 61 6c 20 76 6f | 69 64 20 44 69 73 6d 69 |ascal vo|id Dismi|
|00000900| 73 73 44 69 61 6c 6f 67 | 28 52 65 73 54 79 70 65 |ssDialog|(ResType|
|00000910| 20 64 69 73 6d 69 73 73 | 65 72 29 3b 0d 09 0d 09 | dismiss|er);....|
|00000920| 76 69 72 74 75 61 6c 20 | 70 61 73 63 61 6c 20 76 |virtual |pascal v|
|00000930| 6f 69 64 20 53 74 75 66 | 66 56 61 6c 75 65 73 28 |oid Stuf|fValues(|
|00000940| 76 6f 69 64 29 3b 0d 0d | 09 76 69 72 74 75 61 6c |void);..|.virtual|
|00000950| 20 70 61 73 63 61 6c 20 | 76 6f 69 64 20 46 69 65 | pascal |void Fie|
|00000960| 6c 64 73 28 70 61 73 63 | 61 6c 20 76 6f 69 64 20 |lds(pasc|al void |
|00000970| 28 2a 44 6f 54 6f 46 69 | 65 6c 64 29 28 53 74 72 |(*DoToFi|eld)(Str|
|00000980| 69 6e 67 50 74 72 20 66 | 69 65 6c 64 4e 61 6d 65 |ingPtr f|ieldName|
|00000990| 2c 20 50 74 72 20 66 69 | 65 6c 64 41 64 64 72 2c |, Ptr fi|eldAddr,|
|000009a0| 20 73 68 6f 72 74 20 0d | 09 20 20 20 66 69 65 6c | short .|. fiel|
|000009b0| 64 54 79 70 65 2c 20 76 | 6f 69 64 20 2a 44 6f 54 |dType, v|oid *DoT|
|000009c0| 6f 46 69 65 6c 64 5f 53 | 74 61 74 69 63 4c 69 6e |oField_S|taticLin|
|000009d0| 6b 29 2c 20 76 6f 69 64 | 20 2a 44 6f 54 6f 46 69 |k), void| *DoToFi|
|000009e0| 65 6c 64 5f 53 74 61 74 | 69 63 4c 69 6e 6b 29 3b |eld_Stat|icLink);|
|000009f0| 0d 0d 7d 3b 0d 0d 63 6c | 61 73 73 20 54 4d 6f 64 |..};..cl|ass TMod|
|00000a00| 65 6c 65 73 73 4d 61 72 | 6b 44 69 61 6c 6f 67 20 |elessMar|kDialog |
|00000a10| 3a 20 70 75 62 6c 69 63 | 20 54 44 69 61 6c 6f 67 |: public| TDialog|
|00000a20| 56 69 65 77 20 7b 0d 20 | 20 70 75 62 6c 69 63 3a |View {. | public:|
|00000a30| 0d 0d 09 76 69 72 74 75 | 61 6c 20 70 61 73 63 61 |...virtu|al pasca|
|00000a40| 6c 20 76 6f 69 64 20 44 | 6f 43 68 6f 69 63 65 28 |l void D|oChoice(|
|00000a50| 54 56 69 65 77 20 2a 6f | 72 69 67 56 69 65 77 2c |TView *o|rigView,|
|00000a60| 20 73 68 6f 72 74 20 69 | 74 73 43 68 6f 69 63 65 | short i|tsChoice|
|00000a70| 29 3b 0d 0d 09 76 69 72 | 74 75 61 6c 20 70 61 73 |);...vir|tual pas|
|00000a80| 63 61 6c 20 76 6f 69 64 | 20 46 69 65 6c 64 73 28 |cal void| Fields(|
|00000a90| 70 61 73 63 61 6c 20 76 | 6f 69 64 20 28 2a 44 6f |pascal v|oid (*Do|
|00000aa0| 54 6f 46 69 65 6c 64 29 | 28 53 74 72 69 6e 67 50 |ToField)|(StringP|
|00000ab0| 74 72 20 66 69 65 6c 64 | 4e 61 6d 65 2c 20 50 74 |tr field|Name, Pt|
|00000ac0| 72 20 66 69 65 6c 64 41 | 64 64 72 2c 20 73 68 6f |r fieldA|ddr, sho|
|00000ad0| 72 74 20 0d 09 20 20 20 | 66 69 65 6c 64 54 79 70 |rt .. |fieldTyp|
|00000ae0| 65 2c 20 76 6f 69 64 20 | 2a 44 6f 54 6f 46 69 65 |e, void |*DoToFie|
|00000af0| 6c 64 5f 53 74 61 74 69 | 63 4c 69 6e 6b 29 2c 20 |ld_Stati|cLink), |
|00000b00| 76 6f 69 64 20 2a 44 6f | 54 6f 46 69 65 6c 64 5f |void *Do|ToField_|
|00000b10| 53 74 61 74 69 63 4c 69 | 6e 6b 29 3b 0d 0d 7d 3b |StaticLi|nk);..};|
|00000b20| 0d 0d 63 6c 61 73 73 20 | 54 46 6f 6e 74 4c 69 73 |..class |TFontLis|
|00000b30| 74 56 69 65 77 20 3a 20 | 70 75 62 6c 69 63 20 54 |tView : |public T|
|00000b40| 54 65 78 74 4c 69 73 74 | 56 69 65 77 20 7b 0d 0d |TextList|View {..|
|00000b50| 20 20 70 75 62 6c 69 63 | 3a 0d 0d 09 76 69 72 74 | public|:...virt|
|00000b60| 75 61 6c 20 70 61 73 63 | 61 6c 20 76 6f 69 64 20 |ual pasc|al void |
|00000b70| 49 6e 69 74 46 6f 6e 74 | 4c 69 73 74 28 29 3b 0d |InitFont|List();.|
|00000b80| 09 2f 2f 20 42 75 69 6c | 64 20 61 6e 20 61 72 72 |.// Buil|d an arr|
|00000b90| 61 79 20 6f 66 20 69 64 | 73 20 6f 66 20 66 6f 6e |ay of id|s of fon|
|00000ba0| 74 20 72 65 73 6f 75 72 | 63 65 73 20 77 68 6f 73 |t resour|ces whos|
|00000bb0| 65 20 6e 61 6d 65 73 20 | 61 72 65 20 69 6e 20 61 |e names |are in a|
|00000bc0| 6c 70 68 61 62 65 74 69 | 63 61 6c 20 6f 72 64 65 |lphabeti|cal orde|
|00000bd0| 72 0d 09 0d 09 76 69 72 | 74 75 61 6c 20 70 61 73 |r....vir|tual pas|
|00000be0| 63 61 6c 20 76 6f 69 64 | 20 46 72 65 65 28 29 3b |cal void| Free();|
|00000bf0| 0d 09 2f 2f 20 4d 61 6b | 65 20 73 75 72 65 20 74 |..// Mak|e sure t|
|00000c00| 68 65 20 66 6f 6e 74 20 | 6c 69 73 74 20 67 65 74 |he font |list get|
|00000c10| 73 20 66 72 65 65 64 0d | 09 0d 09 76 69 72 74 75 |s freed.|...virtu|
|00000c20| 61 6c 20 70 61 73 63 61 | 6c 20 76 6f 69 64 20 47 |al pasca|l void G|
|00000c30| 65 74 49 74 65 6d 54 65 | 78 74 28 73 68 6f 72 74 |etItemTe|xt(short|
|00000c40| 20 61 6e 49 74 65 6d 2c | 20 53 74 72 69 6e 67 50 | anItem,| StringP|
|00000c50| 74 72 20 61 53 74 72 69 | 6e 67 29 3b 0d 0d 09 76 |tr aStri|ng);...v|
|00000c60| 69 72 74 75 61 6c 20 70 | 61 73 63 61 6c 20 76 6f |irtual p|ascal vo|
|00000c70| 69 64 20 53 65 6c 65 63 | 74 49 74 65 6d 28 73 68 |id Selec|tItem(sh|
|00000c80| 6f 72 74 20 61 6e 49 74 | 65 6d 2c 20 42 6f 6f 6c |ort anIt|em, Bool|
|00000c90| 65 61 6e 20 65 78 74 65 | 6e 64 53 65 6c 65 63 74 |ean exte|ndSelect|
|00000ca0| 69 6f 6e 2c 20 42 6f 6f | 6c 65 61 6e 20 68 69 67 |ion, Boo|lean hig|
|00000cb0| 68 6c 69 67 68 74 2c 20 | 42 6f 6f 6c 65 61 6e 20 |hlight, |Boolean |
|00000cc0| 73 65 6c 65 63 74 29 3b | 0d 0d 09 76 69 72 74 75 |select);|...virtu|
|00000cd0| 61 6c 20 70 61 73 63 61 | 6c 20 76 6f 69 64 20 46 |al pasca|l void F|
|00000ce0| 69 65 6c 64 73 28 70 61 | 73 63 61 6c 20 76 6f 69 |ields(pa|scal voi|
|00000cf0| 64 20 28 2a 44 6f 54 6f | 46 69 65 6c 64 29 28 53 |d (*DoTo|Field)(S|
|00000d00| 74 72 69 6e 67 50 74 72 | 20 66 69 65 6c 64 4e 61 |tringPtr| fieldNa|
|00000d10| 6d 65 2c 20 50 74 72 20 | 66 69 65 6c 64 41 64 64 |me, Ptr |fieldAdd|
|00000d20| 72 2c 20 0d 09 09 73 68 | 6f 72 74 20 66 69 65 6c |r, ...sh|ort fiel|
|00000d30| 64 54 79 70 65 2c 20 76 | 6f 69 64 20 2a 44 6f 54 |dType, v|oid *DoT|
|00000d40| 6f 46 69 65 6c 64 5f 53 | 74 61 74 69 63 4c 69 6e |oField_S|taticLin|
|00000d50| 6b 29 2c 20 76 6f 69 64 | 20 2a 44 6f 54 6f 46 69 |k), void| *DoToFi|
|00000d60| 65 6c 64 5f 53 74 61 74 | 69 63 4c 69 6e 6b 29 3b |eld_Stat|icLink);|
|00000d70| 0d 0d 20 20 70 72 69 76 | 61 74 65 3a 0d 20 20 20 |.. priv|ate:. |
|00000d80| 20 09 09 0d 09 46 6f 6e | 74 4c 69 73 74 50 74 72 | ....Fon|tListPtr|
|00000d90| 09 66 46 6f 6e 74 4c 69 | 73 74 3b 0d 0d 7d 3b 0d |.fFontLi|st;..};.|
|00000da0| 0d 63 6c 61 73 73 20 54 | 53 69 7a 65 4c 69 73 74 |.class T|SizeList|
|00000db0| 56 69 65 77 20 3a 20 70 | 75 62 6c 69 63 20 54 54 |View : p|ublic TT|
|00000dc0| 65 78 74 4c 69 73 74 56 | 69 65 77 20 7b 0d 0d 20 |extListV|iew {.. |
|00000dd0| 20 70 75 62 6c 69 63 3a | 0d 0d 09 76 69 72 74 75 | public:|...virtu|
|00000de0| 61 6c 20 70 61 73 63 61 | 6c 20 76 6f 69 64 20 49 |al pasca|l void I|
|00000df0| 6e 69 74 53 69 7a 65 4c | 69 73 74 28 29 3b 0d 09 |nitSizeL|ist();..|
|00000e00| 0d 09 76 69 72 74 75 61 | 6c 20 70 61 73 63 61 6c |..virtua|l pascal|
|00000e10| 20 76 6f 69 64 20 47 65 | 74 49 74 65 6d 54 65 78 | void Ge|tItemTex|
|00000e20| 74 28 73 68 6f 72 74 20 | 61 6e 49 74 65 6d 2c 20 |t(short |anItem, |
|00000e30| 53 74 72 69 6e 67 50 74 | 72 20 61 53 74 72 69 6e |StringPt|r aStrin|
|00000e40| 67 29 3b 0d 0d 09 76 69 | 72 74 75 61 6c 20 70 61 |g);...vi|rtual pa|
|00000e50| 73 63 61 6c 20 76 6f 69 | 64 20 49 6e 73 74 61 6c |scal voi|d Instal|
|00000e60| 6c 46 6f 6e 74 46 61 6d | 69 6c 79 28 73 68 6f 72 |lFontFam|ily(shor|
|00000e70| 74 20 74 68 65 46 6f 6e | 64 49 6e 64 65 78 29 3b |t theFon|dIndex);|
|00000e80| 0d 0d 09 76 69 72 74 75 | 61 6c 20 70 61 73 63 61 |...virtu|al pasca|
|00000e90| 6c 20 76 6f 69 64 20 53 | 65 6c 65 63 74 49 74 65 |l void S|electIte|
|00000ea0| 6d 28 73 68 6f 72 74 20 | 61 6e 49 74 65 6d 2c 20 |m(short |anItem, |
|00000eb0| 42 6f 6f 6c 65 61 6e 20 | 65 78 74 65 6e 64 53 65 |Boolean |extendSe|
|00000ec0| 6c 65 63 74 69 6f 6e 2c | 20 42 6f 6f 6c 65 61 6e |lection,| Boolean|
|00000ed0| 20 68 69 67 68 6c 69 67 | 68 74 2c 20 42 6f 6f 6c | highlig|ht, Bool|
|00000ee0| 65 61 6e 20 73 65 6c 65 | 63 74 29 3b 0d 0d 09 76 |ean sele|ct);...v|
|00000ef0| 69 72 74 75 61 6c 20 70 | 61 73 63 61 6c 20 76 6f |irtual p|ascal vo|
|00000f00| 69 64 20 53 65 74 4e 75 | 6d 62 65 72 4f 66 49 74 |id SetNu|mberOfIt|
|00000f10| 65 6d 73 28 73 68 6f 72 | 74 20 61 4e 75 6d 62 65 |ems(shor|t aNumbe|
|00000f20| 72 29 3b 0d 0d 09 76 69 | 72 74 75 61 6c 20 70 61 |r);...vi|rtual pa|
|00000f30| 73 63 61 6c 20 76 6f 69 | 64 20 46 69 65 6c 64 73 |scal voi|d Fields|
|00000f40| 28 70 61 73 63 61 6c 20 | 76 6f 69 64 20 28 2a 44 |(pascal |void (*D|
|00000f50| 6f 54 6f 46 69 65 6c 64 | 29 28 53 74 72 69 6e 67 |oToField|)(String|
|00000f60| 50 74 72 20 66 69 65 6c | 64 4e 61 6d 65 2c 20 50 |Ptr fiel|dName, P|
|00000f70| 74 72 20 66 69 65 6c 64 | 41 64 64 72 2c 20 0d 09 |tr field|Addr, ..|
|00000f80| 09 73 68 6f 72 74 20 66 | 69 65 6c 64 54 79 70 65 |.short f|ieldType|
|00000f90| 2c 20 76 6f 69 64 20 2a | 44 6f 54 6f 46 69 65 6c |, void *|DoToFiel|
|00000fa0| 64 5f 53 74 61 74 69 63 | 4c 69 6e 6b 29 2c 20 76 |d_Static|Link), v|
|00000fb0| 6f 69 64 20 2a 44 6f 54 | 6f 46 69 65 6c 64 5f 53 |oid *DoT|oField_S|
|00000fc0| 74 61 74 69 63 4c 69 6e | 6b 29 3b 0d 0d 20 20 70 |taticLin|k);.. p|
|00000fd0| 72 69 76 61 74 65 3a 0d | 20 20 20 20 09 09 0d 09 |rivate:.| ....|
|00000fe0| 73 68 6f 72 74 20 66 53 | 65 6c 65 63 74 69 6f 6e |short fS|election|
|00000ff0| 3b 0d 09 73 68 6f 72 74 | 20 66 53 65 6c 65 63 74 |;..short| fSelect|
|00001000| 65 64 53 69 7a 65 3b 0d | 09 73 68 6f 72 74 20 66 |edSize;.|.short f|
|00001010| 46 6f 6e 64 49 6e 64 65 | 78 3b 0d 0d 7d 3b 0d 0d |FondInde|x;..};..|
|00001020| 63 6c 61 73 73 20 54 50 | 61 67 65 53 65 74 75 70 |class TP|ageSetup|
|00001030| 44 69 61 6c 6f 67 20 3a | 20 70 75 62 6c 69 63 20 |Dialog :| public |
|00001040| 54 44 69 61 6c 6f 67 56 | 69 65 77 20 7b 0d 0d 20 |TDialogV|iew {.. |
|00001050| 20 70 75 62 6c 69 63 3a | 0d 20 20 0d 20 20 09 54 | public:|. . .T|
|00001060| 50 61 67 65 53 65 74 75 | 70 44 69 61 6c 6f 67 28 |PageSetu|pDialog(|
|00001070| 29 3b 09 09 09 09 09 09 | 09 09 09 2f 2f 20 63 6f |);......|...// co|
|00001080| 6e 73 74 72 75 63 74 6f | 72 20 74 6f 20 69 6e 69 |nstructo|r to ini|
|00001090| 74 69 61 6c 69 7a 65 20 | 66 4f 72 69 65 6e 74 61 |tialize |fOrienta|
|000010a0| 74 69 6f 6e 0d 0d 09 76 | 69 72 74 75 61 6c 20 70 |tion...v|irtual p|
|000010b0| 61 73 63 61 6c 20 76 6f | 69 64 20 54 50 61 67 65 |ascal vo|id TPage|
|000010c0| 53 65 74 75 70 44 69 61 | 6c 6f 67 3a 3a 47 65 74 |SetupDia|log::Get|
|000010d0| 4f 72 69 65 6e 74 61 74 | 69 6f 6e 28 56 48 53 65 |Orientat|ion(VHSe|
|000010e0| 6c 65 63 74 20 2a 74 68 | 65 4f 72 69 65 6e 74 61 |lect *th|eOrienta|
|000010f0| 74 69 6f 6e 29 3b 0d 0d | 09 76 69 72 74 75 61 6c |tion);..|.virtual|
|00001100| 20 70 61 73 63 61 6c 20 | 76 6f 69 64 20 44 6f 43 | pascal |void DoC|
|00001110| 68 6f 69 63 65 28 54 56 | 69 65 77 20 2a 6f 72 69 |hoice(TV|iew *ori|
|00001120| 67 56 69 65 77 2c 20 73 | 68 6f 72 74 20 69 74 73 |gView, s|hort its|
|00001130| 43 68 6f 69 63 65 29 3b | 0d 0d 09 76 69 72 74 75 |Choice);|...virtu|
|00001140| 61 6c 20 70 61 73 63 61 | 6c 20 76 6f 69 64 20 46 |al pasca|l void F|
|00001150| 69 65 6c 64 73 28 70 61 | 73 63 61 6c 20 76 6f 69 |ields(pa|scal voi|
|00001160| 64 20 28 2a 44 6f 54 6f | 46 69 65 6c 64 29 28 53 |d (*DoTo|Field)(S|
|00001170| 74 72 69 6e 67 50 74 72 | 20 66 69 65 6c 64 4e 61 |tringPtr| fieldNa|
|00001180| 6d 65 2c 20 50 74 72 20 | 66 69 65 6c 64 41 64 64 |me, Ptr |fieldAdd|
|00001190| 72 2c 20 73 68 6f 72 74 | 20 0d 09 20 20 20 66 69 |r, short| .. fi|
|000011a0| 65 6c 64 54 79 70 65 2c | 20 76 6f 69 64 20 2a 44 |eldType,| void *D|
|000011b0| 6f 54 6f 46 69 65 6c 64 | 5f 53 74 61 74 69 63 4c |oToField|_StaticL|
|000011c0| 69 6e 6b 29 2c 20 76 6f | 69 64 20 2a 44 6f 54 6f |ink), vo|id *DoTo|
|000011d0| 46 69 65 6c 64 5f 53 74 | 61 74 69 63 4c 69 6e 6b |Field_St|aticLink|
|000011e0| 29 3b 0d 0d 20 20 70 72 | 69 76 61 74 65 3a 0d 20 |);.. pr|ivate:. |
|000011f0| 20 0d 09 56 48 53 65 6c | 65 63 74 20 66 4f 72 69 | ..VHSel|ect fOri|
|00001200| 65 6e 74 61 74 69 6f 6e | 3b 0d 0d 7d 3b 0d 0d 63 |entation|;..};..c|
|00001210| 6c 61 73 73 20 54 52 61 | 64 69 6f 49 63 6f 6e 20 |lass TRa|dioIcon |
|00001220| 3a 70 75 62 6c 69 63 20 | 20 54 49 63 6f 6e 20 7b |:public | TIcon {|
|00001230| 0d 20 20 70 75 62 6c 69 | 63 3a 0d 0d 09 76 69 72 |. publi|c:...vir|
|00001240| 74 75 61 6c 20 70 61 73 | 63 61 6c 20 76 6f 69 64 |tual pas|cal void|
|00001250| 20 54 72 61 63 6b 4d 6f | 75 73 65 28 54 72 61 63 | TrackMo|use(Trac|
|00001260| 6b 50 68 61 73 65 20 61 | 54 72 61 63 6b 50 68 61 |kPhase a|TrackPha|
|00001270| 73 65 2c 20 56 50 6f 69 | 6e 74 20 2a 61 6e 63 68 |se, VPoi|nt *anch|
|00001280| 6f 72 50 6f 69 6e 74 2c | 20 56 50 6f 69 6e 74 20 |orPoint,| VPoint |
|00001290| 2a 0d 09 20 20 20 70 72 | 65 76 69 6f 75 73 50 6f |*.. pr|eviousPo|
|000012a0| 69 6e 74 2c 20 56 50 6f | 69 6e 74 20 2a 6e 65 78 |int, VPo|int *nex|
|000012b0| 74 50 6f 69 6e 74 2c 20 | 42 6f 6f 6c 65 61 6e 20 |tPoint, |Boolean |
|000012c0| 6d 6f 75 73 65 44 69 64 | 4d 6f 76 65 29 3b 0d 0d |mouseDid|Move);..|
|000012d0| 09 76 69 72 74 75 61 6c | 20 70 61 73 63 61 6c 20 |.virtual| pascal |
|000012e0| 76 6f 69 64 20 46 69 65 | 6c 64 73 28 70 61 73 63 |void Fie|lds(pasc|
|000012f0| 61 6c 20 76 6f 69 64 20 | 28 2a 44 6f 54 6f 46 69 |al void |(*DoToFi|
|00001300| 65 6c 64 29 28 53 74 72 | 69 6e 67 50 74 72 20 66 |eld)(Str|ingPtr f|
|00001310| 69 65 6c 64 4e 61 6d 65 | 2c 20 50 74 72 20 66 69 |ieldName|, Ptr fi|
|00001320| 65 6c 64 41 64 64 72 2c | 20 0d 09 09 73 68 6f 72 |eldAddr,| ...shor|
|00001330| 74 20 66 69 65 6c 64 54 | 79 70 65 2c 20 76 6f 69 |t fieldT|ype, voi|
|00001340| 64 20 2a 44 6f 54 6f 46 | 69 65 6c 64 5f 53 74 61 |d *DoToF|ield_Sta|
|00001350| 74 69 63 4c 69 6e 6b 29 | 2c 20 76 6f 69 64 20 2a |ticLink)|, void *|
|00001360| 44 6f 54 6f 46 69 65 6c | 64 5f 53 74 61 74 69 63 |DoToFiel|d_Static|
|00001370| 4c 69 6e 6b 29 3b 0d 7d | 3b 0d 0d 63 6c 61 73 73 |Link);.}|;..class|
|00001380| 20 54 48 6f 6d 65 42 72 | 65 77 44 69 61 6c 6f 67 | THomeBr|ewDialog|
|00001390| 20 3a 20 70 75 62 6c 69 | 63 20 54 44 69 61 6c 6f | : publi|c TDialo|
|000013a0| 67 56 69 65 77 20 7b 0d | 20 20 70 75 62 6c 69 63 |gView {.| public|
|000013b0| 3a 0d 0d 09 76 69 72 74 | 75 61 6c 20 70 61 73 63 |:...virt|ual pasc|
|000013c0| 61 6c 20 42 6f 6f 6c 65 | 61 6e 20 44 6f 53 65 74 |al Boole|an DoSet|
|000013d0| 43 75 72 73 6f 72 28 50 | 6f 69 6e 74 20 6c 6f 63 |Cursor(P|oint loc|
|000013e0| 61 6c 50 6f 69 6e 74 2c | 20 52 67 6e 48 61 6e 64 |alPoint,| RgnHand|
|000013f0| 6c 65 20 63 75 72 73 6f | 72 52 67 6e 29 3b 0d 0d |le curso|rRgn);..|
|00001400| 09 76 69 72 74 75 61 6c | 20 70 61 73 63 61 6c 20 |.virtual| pascal |
|00001410| 54 56 69 65 77 20 2a 48 | 61 6e 64 6c 65 43 75 72 |TView *H|andleCur|
|00001420| 73 6f 72 28 56 50 6f 69 | 6e 74 20 2a 74 68 65 4d |sor(VPoi|nt *theM|
|00001430| 6f 75 73 65 2c 20 52 67 | 6e 48 61 6e 64 6c 65 20 |ouse, Rg|nHandle |
|00001440| 63 75 72 73 6f 72 52 67 | 6e 29 3b 0d 0d 09 76 69 |cursorRg|n);...vi|
|00001450| 72 74 75 61 6c 20 70 61 | 73 63 61 6c 20 76 6f 69 |rtual pa|scal voi|
|00001460| 64 20 46 69 65 6c 64 73 | 28 70 61 73 63 61 6c 20 |d Fields|(pascal |
|00001470| 76 6f 69 64 20 28 2a 44 | 6f 54 6f 46 69 65 6c 64 |void (*D|oToField|
|00001480| 29 28 53 74 72 69 6e 67 | 50 74 72 20 66 69 65 6c |)(String|Ptr fiel|
|00001490| 64 4e 61 6d 65 2c 20 50 | 74 72 20 66 69 65 6c 64 |dName, P|tr field|
|000014a0| 41 64 64 72 2c 20 73 68 | 6f 72 74 20 0d 09 20 20 |Addr, sh|ort .. |
|000014b0| 20 66 69 65 6c 64 54 79 | 70 65 2c 20 76 6f 69 64 | fieldTy|pe, void|
|000014c0| 20 2a 44 6f 54 6f 46 69 | 65 6c 64 5f 53 74 61 74 | *DoToFi|eld_Stat|
|000014d0| 69 63 4c 69 6e 6b 29 2c | 20 76 6f 69 64 20 2a 44 |icLink),| void *D|
|000014e0| 6f 54 6f 46 69 65 6c 64 | 5f 53 74 61 74 69 63 4c |oToField|_StaticL|
|000014f0| 69 6e 6b 29 3b 0d 7d 3b | 0d 0d 63 6c 61 73 73 20 |ink);.};|..class |
|00001500| 54 41 72 72 6f 77 73 43 | 6f 6e 74 72 6f 6c 20 3a |TArrowsC|ontrol :|
|00001510| 20 70 75 62 6c 69 63 20 | 54 50 69 63 74 75 72 65 | public |TPicture|
|00001520| 20 7b 0d 0d 20 20 70 75 | 62 6c 69 63 3a 0d 0d 09 | {.. pu|blic:...|
|00001530| 76 69 72 74 75 61 6c 20 | 70 61 73 63 61 6c 20 76 |virtual |pascal v|
|00001540| 6f 69 64 20 49 52 65 73 | 28 54 44 6f 63 75 6d 65 |oid IRes|(TDocume|
|00001550| 6e 74 20 2a 69 74 73 44 | 6f 63 75 6d 65 6e 74 2c |nt *itsD|ocument,|
|00001560| 20 54 56 69 65 77 20 2a | 69 74 73 53 75 70 65 72 | TView *|itsSuper|
|00001570| 56 69 65 77 2c 20 50 74 | 72 20 2a 69 74 73 50 61 |View, Pt|r *itsPa|
|00001580| 72 61 6d 73 29 3b 0d 0d | 09 76 69 72 74 75 61 6c |rams);..|.virtual|
|00001590| 20 70 61 73 63 61 6c 20 | 76 6f 69 64 20 54 72 61 | pascal |void Tra|
|000015a0| 63 6b 4d 6f 75 73 65 28 | 54 72 61 63 6b 50 68 61 |ckMouse(|TrackPha|
|000015b0| 73 65 20 61 54 72 61 63 | 6b 50 68 61 73 65 2c 20 |se aTrac|kPhase, |
|000015c0| 56 50 6f 69 6e 74 20 2a | 61 6e 63 68 6f 72 50 6f |VPoint *|anchorPo|
|000015d0| 69 6e 74 2c 20 56 50 6f | 69 6e 74 20 2a 0d 09 20 |int, VPo|int *.. |
|000015e0| 20 20 70 72 65 76 69 6f | 75 73 50 6f 69 6e 74 2c | previo|usPoint,|
|000015f0| 20 56 50 6f 69 6e 74 20 | 2a 6e 65 78 74 50 6f 69 | VPoint |*nextPoi|
|00001600| 6e 74 2c 20 42 6f 6f 6c | 65 61 6e 20 6d 6f 75 73 |nt, Bool|ean mous|
|00001610| 65 44 69 64 4d 6f 76 65 | 29 3b 0d 0d 09 76 69 72 |eDidMove|);...vir|
|00001620| 74 75 61 6c 20 70 61 73 | 63 61 6c 20 76 6f 69 64 |tual pas|cal void|
|00001630| 20 46 69 65 6c 64 73 28 | 70 61 73 63 61 6c 20 76 | Fields(|pascal v|
|00001640| 6f 69 64 20 28 2a 44 6f | 54 6f 46 69 65 6c 64 29 |oid (*Do|ToField)|
|00001650| 28 53 74 72 69 6e 67 50 | 74 72 20 66 69 65 6c 64 |(StringP|tr field|
|00001660| 4e 61 6d 65 2c 20 50 74 | 72 20 66 69 65 6c 64 41 |Name, Pt|r fieldA|
|00001670| 64 64 72 2c 20 73 68 6f | 72 74 20 0d 09 20 20 20 |ddr, sho|rt .. |
|00001680| 66 69 65 6c 64 54 79 70 | 65 2c 20 76 6f 69 64 20 |fieldTyp|e, void |
|00001690| 2a 44 6f 54 6f 46 69 65 | 6c 64 5f 53 74 61 74 69 |*DoToFie|ld_Stati|
|000016a0| 63 4c 69 6e 6b 29 2c 20 | 76 6f 69 64 20 2a 44 6f |cLink), |void *Do|
|000016b0| 54 6f 46 69 65 6c 64 5f | 53 74 61 74 69 63 4c 69 |ToField_|StaticLi|
|000016c0| 6e 6b 29 3b 0d 0d 20 20 | 70 72 69 76 61 74 65 3a |nk);.. |private:|
|000016d0| 0d 0d 09 6c 6f 6e 67 20 | 66 4c 61 73 74 43 68 61 |...long |fLastCha|
|000016e0| 6e 67 65 3b 09 09 09 09 | 09 09 09 2f 2a 20 74 69 |nge;....|.../* ti|
|000016f0| 63 6b 20 63 6f 75 6e 74 | 20 6f 66 20 6c 61 73 74 |ck count| of last|
|00001700| 20 63 61 6c 6c 20 74 6f | 20 44 6f 43 68 6f 69 63 | call to| DoChoic|
|00001710| 65 20 2a 2f 0d 0d 7d 3b | 0d 0d 63 6c 61 73 73 20 |e */..};|..class |
|00001720| 54 54 65 6d 70 65 72 61 | 74 75 72 65 43 6c 75 73 |TTempera|tureClus|
|00001730| 74 65 72 20 3a 20 70 75 | 62 6c 69 63 20 54 43 6c |ter : pu|blic TCl|
|00001740| 75 73 74 65 72 20 7b 0d | 20 20 70 75 62 6c 69 63 |uster {.| public|
|00001750| 3a 0d 0d 09 76 69 72 74 | 75 61 6c 20 70 61 73 63 |:...virt|ual pasc|
|00001760| 61 6c 20 76 6f 69 64 20 | 44 6f 43 68 6f 69 63 65 |al void |DoChoice|
|00001770| 28 54 56 69 65 77 20 2a | 6f 72 69 67 56 69 65 77 |(TView *|origView|
|00001780| 2c 20 73 68 6f 72 74 20 | 69 74 73 43 68 6f 69 63 |, short |itsChoic|
|00001790| 65 29 3b 0d 0d 09 76 69 | 72 74 75 61 6c 20 70 61 |e);...vi|rtual pa|
|000017a0| 73 63 61 6c 20 6c 6f 6e | 67 20 47 65 74 56 61 6c |scal lon|g GetVal|
|000017b0| 75 65 28 29 3b 0d 09 0d | 09 76 69 72 74 75 61 6c |ue();...|.virtual|
|000017c0| 20 70 61 73 63 61 6c 20 | 76 6f 69 64 20 53 65 74 | pascal |void Set|
|000017d0| 56 61 6c 75 65 28 6c 6f | 6e 67 20 6e 65 77 56 61 |Value(lo|ng newVa|
|000017e0| 6c 75 65 2c 20 42 6f 6f | 6c 65 61 6e 20 72 65 64 |lue, Boo|lean red|
|000017f0| 72 61 77 29 3b 0d 0d 09 | 76 69 72 74 75 61 6c 20 |raw);...|virtual |
|00001800| 70 61 73 63 61 6c 20 76 | 6f 69 64 20 46 69 65 6c |pascal v|oid Fiel|
|00001810| 64 73 28 70 61 73 63 61 | 6c 20 76 6f 69 64 20 28 |ds(pasca|l void (|
|00001820| 2a 44 6f 54 6f 46 69 65 | 6c 64 29 28 53 74 72 69 |*DoToFie|ld)(Stri|
|00001830| 6e 67 50 74 72 20 66 69 | 65 6c 64 4e 61 6d 65 2c |ngPtr fi|eldName,|
|00001840| 20 50 74 72 20 66 69 65 | 6c 64 41 64 64 72 2c 20 | Ptr fie|ldAddr, |
|00001850| 0d 09 09 73 68 6f 72 74 | 20 66 69 65 6c 64 54 79 |...short| fieldTy|
|00001860| 70 65 2c 20 76 6f 69 64 | 20 2a 44 6f 54 6f 46 69 |pe, void| *DoToFi|
|00001870| 65 6c 64 5f 53 74 61 74 | 69 63 4c 69 6e 6b 29 2c |eld_Stat|icLink),|
|00001880| 20 76 6f 69 64 20 2a 44 | 6f 54 6f 46 69 65 6c 64 | void *D|oToField|
|00001890| 5f 53 74 61 74 69 63 4c | 69 6e 6b 29 3b 0d 7d 3b |_StaticL|ink);.};|
|000018a0| 0d 0d 63 6c 61 73 73 20 | 54 54 65 6d 70 65 72 61 |..class |TTempera|
|000018b0| 74 75 72 65 43 6f 6e 76 | 65 72 73 69 6f 6e 43 6c |tureConv|ersionCl|
|000018c0| 75 73 74 65 72 20 3a 20 | 70 75 62 6c 69 63 20 54 |uster : |public T|
|000018d0| 43 6c 75 73 74 65 72 20 | 7b 0d 20 20 70 75 62 6c |Cluster |{. publ|
|000018e0| 69 63 3a 0d 0d 09 76 69 | 72 74 75 61 6c 20 70 61 |ic:...vi|rtual pa|
|000018f0| 73 63 61 6c 20 76 6f 69 | 64 20 44 6f 43 68 6f 69 |scal voi|d DoChoi|
|00001900| 63 65 28 54 56 69 65 77 | 20 2a 6f 72 69 67 56 69 |ce(TView| *origVi|
|00001910| 65 77 2c 20 73 68 6f 72 | 74 20 69 74 73 43 68 6f |ew, shor|t itsCho|
|00001920| 69 63 65 29 3b 0d 0d 09 | 76 69 72 74 75 61 6c 20 |ice);...|virtual |
|00001930| 70 61 73 63 61 6c 20 76 | 6f 69 64 20 46 69 65 6c |pascal v|oid Fiel|
|00001940| 64 73 28 70 61 73 63 61 | 6c 20 76 6f 69 64 20 28 |ds(pasca|l void (|
|00001950| 2a 44 6f 54 6f 46 69 65 | 6c 64 29 28 53 74 72 69 |*DoToFie|ld)(Stri|
|00001960| 6e 67 50 74 72 20 66 69 | 65 6c 64 4e 61 6d 65 2c |ngPtr fi|eldName,|
|00001970| 20 50 74 72 20 66 69 65 | 6c 64 41 64 64 72 2c 20 | Ptr fie|ldAddr, |
|00001980| 0d 09 09 73 68 6f 72 74 | 20 66 69 65 6c 64 54 79 |...short| fieldTy|
|00001990| 70 65 2c 20 76 6f 69 64 | 20 2a 44 6f 54 6f 46 69 |pe, void| *DoToFi|
|000019a0| 65 6c 64 5f 53 74 61 74 | 69 63 4c 69 6e 6b 29 2c |eld_Stat|icLink),|
|000019b0| 20 76 6f 69 64 20 2a 44 | 6f 54 6f 46 69 65 6c 64 | void *D|oToField|
|000019c0| 5f 53 74 61 74 69 63 4c | 69 6e 6b 29 3b 0d 7d 3b |_StaticL|ink);.};|
|000019d0| 0d 0d 63 6c 61 73 73 20 | 54 53 6c 69 64 65 72 20 |..class |TSlider |
|000019e0| 3a 20 70 75 62 6c 69 63 | 20 54 50 69 63 74 75 72 |: public| TPictur|
|000019f0| 65 20 7b 0d 0d 20 20 70 | 75 62 6c 69 63 3a 0d 0d |e {.. p|ublic:..|
|00001a00| 09 76 69 72 74 75 61 6c | 20 70 61 73 63 61 6c 20 |.virtual| pascal |
|00001a10| 76 6f 69 64 20 49 52 65 | 73 28 54 44 6f 63 75 6d |void IRe|s(TDocum|
|00001a20| 65 6e 74 20 2a 69 74 73 | 44 6f 63 75 6d 65 6e 74 |ent *its|Document|
|00001a30| 2c 20 54 56 69 65 77 20 | 2a 69 74 73 53 75 70 65 |, TView |*itsSupe|
|00001a40| 72 56 69 65 77 2c 20 50 | 74 72 20 2a 69 74 73 50 |rView, P|tr *itsP|
|00001a50| 61 72 61 6d 73 29 3b 0d | 0d 09 76 69 72 74 75 61 |arams);.|..virtua|
|00001a60| 6c 20 70 61 73 63 61 6c | 20 42 6f 6f 6c 65 61 6e |l pascal| Boolean|
|00001a70| 20 43 6f 6e 74 61 69 6e | 73 4d 6f 75 73 65 28 56 | Contain|sMouse(V|
|00001a80| 50 6f 69 6e 74 20 2a 74 | 68 65 4d 6f 75 73 65 29 |Point *t|heMouse)|
|00001a90| 3b 0d 0d 09 76 69 72 74 | 75 61 6c 20 70 61 73 63 |;...virt|ual pasc|
|00001aa0| 61 6c 20 76 6f 69 64 20 | 44 72 61 77 28 52 65 63 |al void |Draw(Rec|
|00001ab0| 74 20 2a 61 72 65 61 29 | 3b 0d 0d 09 76 69 72 74 |t *area)|;...virt|
|00001ac0| 75 61 6c 20 70 61 73 63 | 61 6c 20 76 6f 69 64 20 |ual pasc|al void |
|00001ad0| 44 72 61 77 4b 6e 6f 62 | 28 76 6f 69 64 29 3b 0d |DrawKnob|(void);.|
|00001ae0| 0d 09 76 69 72 74 75 61 | 6c 20 70 61 73 63 61 6c |..virtua|l pascal|
|00001af0| 20 76 6f 69 64 20 47 65 | 74 4b 6e 6f 62 52 65 63 | void Ge|tKnobRec|
|00001b00| 74 28 52 65 63 74 20 2a | 6b 6e 6f 62 52 65 63 74 |t(Rect *|knobRect|
|00001b10| 29 3b 0d 0d 09 76 69 72 | 74 75 61 6c 20 70 61 73 |);...vir|tual pas|
|00001b20| 63 61 6c 20 76 6f 69 64 | 20 54 72 61 63 6b 4d 6f |cal void| TrackMo|
|00001b30| 75 73 65 28 54 72 61 63 | 6b 50 68 61 73 65 20 61 |use(Trac|kPhase a|
|00001b40| 54 72 61 63 6b 50 68 61 | 73 65 2c 20 56 50 6f 69 |TrackPha|se, VPoi|
|00001b50| 6e 74 20 2a 61 6e 63 68 | 6f 72 50 6f 69 6e 74 2c |nt *anch|orPoint,|
|00001b60| 20 56 50 6f 69 6e 74 20 | 2a 0d 09 20 20 20 70 72 | VPoint |*.. pr|
|00001b70| 65 76 69 6f 75 73 50 6f | 69 6e 74 2c 20 56 50 6f |eviousPo|int, VPo|
|00001b80| 69 6e 74 20 2a 6e 65 78 | 74 50 6f 69 6e 74 2c 20 |int *nex|tPoint, |
|00001b90| 42 6f 6f 6c 65 61 6e 20 | 6d 6f 75 73 65 44 69 64 |Boolean |mouseDid|
|00001ba0| 4d 6f 76 65 29 3b 0d 0d | 09 76 69 72 74 75 61 6c |Move);..|.virtual|
|00001bb0| 20 70 61 73 63 61 6c 20 | 76 6f 69 64 20 46 69 65 | pascal |void Fie|
|00001bc0| 6c 64 73 28 70 61 73 63 | 61 6c 20 76 6f 69 64 20 |lds(pasc|al void |
|00001bd0| 28 2a 44 6f 54 6f 46 69 | 65 6c 64 29 28 53 74 72 |(*DoToFi|eld)(Str|
|00001be0| 69 6e 67 50 74 72 20 66 | 69 65 6c 64 4e 61 6d 65 |ingPtr f|ieldName|
|00001bf0| 2c 20 50 74 72 20 66 69 | 65 6c 64 41 64 64 72 2c |, Ptr fi|eldAddr,|
|00001c00| 20 0d 09 09 73 68 6f 72 | 74 20 66 69 65 6c 64 54 | ...shor|t fieldT|
|00001c10| 79 70 65 2c 20 76 6f 69 | 64 20 2a 44 6f 54 6f 46 |ype, voi|d *DoToF|
|00001c20| 69 65 6c 64 5f 53 74 61 | 74 69 63 4c 69 6e 6b 29 |ield_Sta|ticLink)|
|00001c30| 2c 20 76 6f 69 64 20 2a | 44 6f 54 6f 46 69 65 6c |, void *|DoToFiel|
|00001c40| 64 5f 53 74 61 74 69 63 | 4c 69 6e 6b 29 3b 0d 0d |d_Static|Link);..|
|00001c50| 20 20 70 72 69 76 61 74 | 65 3a 0d 0d 20 20 09 73 | privat|e:.. .s|
|00001c60| 68 6f 72 74 20 66 56 61 | 6c 75 65 3b 09 09 09 09 |hort fVa|lue;....|
|00001c70| 09 09 09 09 2f 2f 20 63 | 75 72 72 65 6e 74 20 76 |....// c|urrent v|
|00001c80| 61 6c 75 65 20 6f 66 20 | 73 6c 69 64 65 72 0d 09 |alue of |slider..|
|00001c90| 50 69 63 48 61 6e 64 6c | 65 20 66 4b 6e 6f 62 50 |PicHandl|e fKnobP|
|00001ca0| 69 63 74 75 72 65 3b 09 | 09 09 09 09 09 2f 2f 20 |icture;.|.....// |
|00001cb0| 68 61 6e 64 6c 65 20 74 | 6f 20 74 68 65 20 50 49 |handle t|o the PI|
|00001cc0| 43 54 20 72 73 72 63 0d | 09 52 65 63 74 20 66 4b |CT rsrc.|.Rect fK|
|00001cd0| 6e 6f 62 52 65 63 74 3b | 09 09 09 09 09 09 09 09 |nobRect;|........|
|00001ce0| 2f 2f 20 72 65 63 74 20 | 77 69 74 68 69 6e 20 77 |// rect |within w|
|00001cf0| 68 69 63 68 20 77 65 20 | 64 72 61 77 20 74 68 65 |hich we |draw the|
|00001d00| 20 6b 6e 6f 62 0d 09 73 | 68 6f 72 74 20 66 4d 69 | knob..s|hort fMi|
|00001d10| 6e 54 6f 70 3b 0d 09 73 | 68 6f 72 74 20 66 4d 61 |nTop;..s|hort fMa|
|00001d20| 78 54 6f 70 3b 0d 0d 7d | 3b 0d 0d 63 6c 61 73 73 |xTop;..}|;..class|
|00001d30| 20 54 53 75 6d 53 74 61 | 74 69 63 54 65 78 74 20 | TSumSta|ticText |
|00001d40| 3a 20 70 75 62 6c 69 63 | 20 54 53 74 61 74 69 63 |: public| TStatic|
|00001d50| 54 65 78 74 20 7b 0d 20 | 20 70 75 62 6c 69 63 3a |Text {. | public:|
|00001d60| 0d 0d 09 76 69 72 74 75 | 61 6c 20 70 61 73 63 61 |...virtu|al pasca|
|00001d70| 6c 20 76 6f 69 64 20 44 | 72 61 77 28 52 65 63 74 |l void D|raw(Rect|
|00001d80| 20 2a 61 72 65 61 29 3b | 0d 0d 09 76 69 72 74 75 | *area);|...virtu|
|00001d90| 61 6c 20 70 61 73 63 61 | 6c 20 76 6f 69 64 20 46 |al pasca|l void F|
|00001da0| 69 65 6c 64 73 28 70 61 | 73 63 61 6c 20 76 6f 69 |ields(pa|scal voi|
|00001db0| 64 20 28 2a 44 6f 54 6f | 46 69 65 6c 64 29 28 53 |d (*DoTo|Field)(S|
|00001dc0| 74 72 69 6e 67 50 74 72 | 20 66 69 65 6c 64 4e 61 |tringPtr| fieldNa|
|00001dd0| 6d 65 2c 20 50 74 72 20 | 66 69 65 6c 64 41 64 64 |me, Ptr |fieldAdd|
|00001de0| 72 2c 20 0d 09 09 73 68 | 6f 72 74 20 66 69 65 6c |r, ...sh|ort fiel|
|00001df0| 64 54 79 70 65 2c 20 76 | 6f 69 64 20 2a 44 6f 54 |dType, v|oid *DoT|
|00001e00| 6f 46 69 65 6c 64 5f 53 | 74 61 74 69 63 4c 69 6e |oField_S|taticLin|
|00001e10| 6b 29 2c 20 76 6f 69 64 | 20 2a 44 6f 54 6f 46 69 |k), void| *DoToFi|
|00001e20| 65 6c 64 5f 53 74 61 74 | 69 63 4c 69 6e 6b 29 3b |eld_Stat|icLink);|
|00001e30| 0d 7d 3b 0d 0d 63 6c 61 | 73 73 20 54 43 61 6c 63 |.};..cla|ss TCalc|
|00001e40| 44 69 61 6c 6f 67 20 3a | 20 70 75 62 6c 69 63 20 |Dialog :| public |
|00001e50| 54 50 69 63 74 75 72 65 | 20 7b 0d 0d 20 20 70 72 |TPicture| {.. pr|
|00001e60| 69 76 61 74 65 3a 20 2f | 2f 20 73 69 6e 63 65 20 |ivate: /|/ since |
|00001e70| 43 2b 2b 20 61 6c 6c 6f | 77 73 20 65 6e 75 6d 65 |C++ allo|ws enume|
|00001e80| 72 61 74 69 6f 6e 73 20 | 77 69 74 68 20 63 6c 61 |rations |with cla|
|00001e90| 73 73 20 73 63 6f 70 65 | 2c 20 77 65 27 6c 6c 20 |ss scope|, we'll |
|00001ea0| 74 61 6b 65 20 61 64 76 | 61 6e 74 61 67 65 20 6f |take adv|antage o|
|00001eb0| 66 20 74 68 69 73 3a 0d | 0d 09 74 79 70 65 64 65 |f this:.|..typede|
|00001ec0| 66 20 65 6e 75 6d 20 7b | 6e 6f 4f 70 65 72 61 74 |f enum {|noOperat|
|00001ed0| 6f 72 2c 20 64 69 76 4f | 70 65 72 61 74 6f 72 2c |or, divO|perator,|
|00001ee0| 20 6d 75 6c 4f 70 65 72 | 61 74 6f 72 2c 20 73 75 | mulOper|ator, su|
|00001ef0| 62 4f 70 65 72 61 74 6f | 72 2c 20 61 64 64 4f 70 |bOperato|r, addOp|
|00001f00| 65 72 61 74 6f 72 7d 20 | 43 61 6c 63 4f 70 65 72 |erator} |CalcOper|
|00001f10| 61 74 6f 72 3b 0d 0d 20 | 20 70 75 62 6c 69 63 3a |ator;.. | public:|
|00001f20| 0d 0d 09 76 69 72 74 75 | 61 6c 20 70 61 73 63 61 |...virtu|al pasca|
|00001f30| 6c 20 76 6f 69 64 20 44 | 6f 43 68 6f 69 63 65 28 |l void D|oChoice(|
|00001f40| 54 56 69 65 77 20 2a 6f | 72 69 67 56 69 65 77 2c |TView *o|rigView,|
|00001f50| 20 73 68 6f 72 74 20 69 | 74 73 43 68 6f 69 63 65 | short i|tsChoice|
|00001f60| 29 3b 0d 0d 09 76 69 72 | 74 75 61 6c 20 70 61 73 |);...vir|tual pas|
|00001f70| 63 61 6c 20 54 43 6f 6d | 6d 61 6e 64 20 2a 44 6f |cal TCom|mand *Do|
|00001f80| 4b 65 79 43 6f 6d 6d 61 | 6e 64 28 73 68 6f 72 74 |KeyComma|nd(short|
|00001f90| 20 63 68 2c 20 73 68 6f | 72 74 20 61 4b 65 79 43 | ch, sho|rt aKeyC|
|00001fa0| 6f 64 65 2c 20 45 76 65 | 6e 74 49 6e 66 6f 20 2a |ode, Eve|ntInfo *|
|00001fb0| 69 6e 66 6f 29 3b 0d 0d | 09 76 69 72 74 75 61 6c |info);..|.virtual|
|00001fc0| 20 70 61 73 63 61 6c 20 | 76 6f 69 64 20 43 6c 65 | pascal |void Cle|
|00001fd0| 61 72 53 75 6d 28 76 6f | 69 64 29 3b 0d 0d 09 76 |arSum(vo|id);...v|
|00001fe0| 69 72 74 75 61 6c 20 70 | 61 73 63 61 6c 20 76 6f |irtual p|ascal vo|
|00001ff0| 69 64 20 46 65 74 63 68 | 56 61 6c 75 65 28 6c 6f |id Fetch|Value(lo|
|00002000| 6e 67 20 64 6f 75 62 6c | 65 20 2a 61 56 61 6c 75 |ng doubl|e *aValu|
|00002010| 65 29 3b 0d 0d 09 76 69 | 72 74 75 61 6c 20 70 61 |e);...vi|rtual pa|
|00002020| 73 63 61 6c 20 76 6f 69 | 64 20 53 65 74 56 61 6c |scal voi|d SetVal|
|00002030| 75 65 28 76 6f 69 64 29 | 3b 0d 0d 09 76 69 72 74 |ue(void)|;...virt|
|00002040| 75 61 6c 20 70 61 73 63 | 61 6c 20 76 6f 69 64 20 |ual pasc|al void |
|00002050| 54 6f 74 61 6c 53 75 6d | 28 43 61 6c 63 4f 70 65 |TotalSum|(CalcOpe|
|00002060| 72 61 74 6f 72 20 6e 65 | 77 4f 70 65 72 61 74 6f |rator ne|wOperato|
|00002070| 72 29 3b 0d 0d 09 76 69 | 72 74 75 61 6c 20 70 61 |r);...vi|rtual pa|
|00002080| 73 63 61 6c 20 76 6f 69 | 64 20 4e 65 77 44 69 67 |scal voi|d NewDig|
|00002090| 69 74 28 73 68 6f 72 74 | 20 74 68 65 4e 75 6d 62 |it(short| theNumb|
|000020a0| 65 72 29 3b 0d 0d 09 76 | 69 72 74 75 61 6c 20 70 |er);...v|irtual p|
|000020b0| 61 73 63 61 6c 20 76 6f | 69 64 20 46 69 65 6c 64 |ascal vo|id Field|
|000020c0| 73 28 70 61 73 63 61 6c | 20 76 6f 69 64 20 28 2a |s(pascal| void (*|
|000020d0| 44 6f 54 6f 46 69 65 6c | 64 29 28 53 74 72 69 6e |DoToFiel|d)(Strin|
|000020e0| 67 50 74 72 20 66 69 65 | 6c 64 4e 61 6d 65 2c 20 |gPtr fie|ldName, |
|000020f0| 50 74 72 20 66 69 65 6c | 64 41 64 64 72 2c 20 73 |Ptr fiel|dAddr, s|
|00002100| 68 6f 72 74 20 0d 09 20 | 20 20 66 69 65 6c 64 54 |hort .. | fieldT|
|00002110| 79 70 65 2c 20 76 6f 69 | 64 20 2a 44 6f 54 6f 46 |ype, voi|d *DoToF|
|00002120| 69 65 6c 64 5f 53 74 61 | 74 69 63 4c 69 6e 6b 29 |ield_Sta|ticLink)|
|00002130| 2c 20 76 6f 69 64 20 2a | 44 6f 54 6f 46 69 65 6c |, void *|DoToFiel|
|00002140| 64 5f 53 74 61 74 69 63 | 4c 69 6e 6b 29 3b 0d 0d |d_Static|Link);..|
|00002150| 20 20 70 72 69 76 61 74 | 65 3a 0d 0d 09 6c 6f 6e | privat|e:...lon|
|00002160| 67 20 64 6f 75 62 6c 65 | 20 66 53 75 6d 3b 09 09 |g double| fSum;..|
|00002170| 09 09 09 09 09 2f 2f 20 | 6e 6f 74 65 3a 20 74 68 |.....// |note: th|
|00002180| 65 20 41 4e 53 49 20 43 | 20 73 74 61 6e 64 61 72 |e ANSI C| standar|
|00002190| 64 20 22 6c 6f 6e 67 20 | 64 6f 75 62 6c 65 22 20 |d "long |double" |
|000021a0| 69 73 20 70 72 65 66 65 | 72 72 65 64 20 0d 09 09 |is prefe|rred ...|
|000021b0| 09 09 09 09 09 09 09 09 | 09 09 2f 2f 20 6f 76 65 |........|..// ove|
|000021c0| 72 20 74 68 65 20 49 45 | 45 45 20 73 74 61 6e 64 |r the IE|EE stand|
|000021d0| 61 72 64 20 22 65 78 74 | 65 6e 64 65 64 22 0d 09 |ard "ext|ended"..|
|000021e0| 6c 6f 6e 67 20 64 6f 75 | 62 6c 65 20 66 41 72 67 |long dou|ble fArg|
|000021f0| 75 6d 65 6e 74 3b 09 09 | 09 09 09 09 2f 2f 20 63 |ument;..|....// c|
|00002200| 75 72 72 65 6e 74 20 61 | 72 67 75 6d 65 6e 74 20 |urrent a|rgument |
|00002210| 74 6f 20 74 68 65 20 63 | 61 6c 63 75 6c 61 74 6f |to the c|alculato|
|00002220| 72 0d 09 43 61 6c 63 4f | 70 65 72 61 74 6f 72 20 |r..CalcO|perator |
|00002230| 66 4f 70 65 72 61 74 6f | 72 3b 09 09 09 09 09 09 |fOperato|r;......|
|00002240| 2f 2f 20 6f 70 65 72 61 | 74 6f 72 20 66 6f 72 20 |// opera|tor for |
|00002250| 74 68 65 20 65 71 75 61 | 74 69 6f 6e 0d 09 42 6f |the equa|tion..Bo|
|00002260| 6f 6c 65 61 6e 20 66 44 | 65 63 69 6d 61 6c 50 6f |olean fD|ecimalPo|
|00002270| 69 6e 74 3b 09 09 09 09 | 09 09 2f 2f 20 77 68 65 |int;....|..// whe|
|00002280| 74 68 65 72 20 6f 72 20 | 6e 6f 74 20 61 20 64 65 |ther or |not a de|
|00002290| 63 69 6d 61 6c 20 70 6f | 69 6e 74 20 69 73 20 69 |cimal po|int is i|
|000022a0| 6e 20 74 68 65 20 6e 75 | 6d 62 65 72 0d 09 42 6f |n the nu|mber..Bo|
|000022b0| 6f 6c 65 61 6e 20 66 52 | 65 73 74 61 72 74 3b 09 |olean fR|estart;.|
|000022c0| 09 09 09 09 09 09 2f 2f | 20 77 68 65 74 68 65 72 |......//| whether|
|000022d0| 20 74 6f 20 72 65 73 74 | 61 72 74 20 65 6e 74 72 | to rest|art entr|
|000022e0| 79 20 6f 66 20 64 61 74 | 61 20 28 6e 65 78 74 20 |y of dat|a (next |
|000022f0| 6e 75 6d 62 65 72 20 65 | 6e 74 65 72 65 64 0d 09 |number e|ntered..|
|00002300| 09 09 09 09 09 09 09 09 | 09 09 09 2f 2f 20 63 6f |........|...// co|
|00002310| 72 72 65 73 70 6f 6e 64 | 73 20 74 6f 20 61 20 6e |rrespond|s to a n|
|00002320| 65 77 20 61 72 67 75 6d | 65 6e 74 29 0d 0d 7d 3b |ew argum|ent)..};|
|00002330| 0d 0d 23 65 6e 64 69 66 | 0d 00 00 00 00 00 00 00 |..#endif|........|
|00002340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002380| 00 00 01 00 00 00 01 00 | 00 00 00 00 00 00 00 1e |........|........|
|00002390| 54 68 69 73 20 72 65 73 | 6f 75 72 63 65 20 66 6f |This res|ource fo|
|000023a0| 72 6b 20 69 6e 74 65 6e | 74 69 6f 6e 61 6c 6c 79 |rk inten|tionally|
|000023b0| 20 6c 65 66 74 20 62 6c | 61 6e 6b 20 20 20 00 00 | left bl|ank ..|
|000023c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000023d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000023e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000023f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002400| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002410| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002420| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002470| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002480| 00 00 01 00 00 00 01 00 | 00 00 00 00 00 00 00 1e |........|........|
|00002490| 00 00 00 00 00 00 00 00 | 00 1c 00 1e ff ff 00 00 |........|........|
|000024a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000024b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000024c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000024d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000024e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000024f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+